package com.wenyu.wenyuyuedu.server.circle;

import com.wenyu.wenyuyuedu.bean.SearchActivityBean;
import com.wenyu.wenyuyuedu.bean.circle.SearchBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/3/8.
 * 搜索
 */

public interface SearchServer {
    /*第一次进搜索的界面*/
    @GET("/forum/circle/searchhistory.html")
    Call<SearchBean> getSearch(@Query("token") String token);
    /*搜索结果*/
    @GET("/forum/circle/searchShow.html")
    Call<SearchActivityBean> getSearchResult(@Query("token")String token,@Query("key")String key);
}
